package com.maxatime.dao;

import com.maxatime.pojo.Course;
import com.maxatime.pojo.Curriculum;
import com.maxatime.pojo.CurriculumVo;
import com.maxatime.pojo.Dormitory;

import java.util.List;

public interface CurriculumMapper {
    int deleteByPrimaryKey(Integer pkId);

    int insert(Curriculum record);

    int insertSelective(Curriculum record);

    Curriculum selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(Curriculum record);

    int updateByPrimaryKey(Curriculum record);
      //课程全查
    List<Curriculum> curriculumFind(CurriculumVo vo);
     //逻辑删除
    Integer curriculumDelete(int pkId);

     //课程代码的全查校验
    List<Curriculum> curriculumFindd();
      // 多删
    Integer deleteListCurr(List<Integer> list);

    List<Course> getcourse();
}